﻿using S.RBAC.Domain.Model;
using S.RBAC.Infrastructure.Interface;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace S.RBAC.Infrastructure.Impl
{
    public class DepartTypeRepository : BaseRepository<DepartType>, IDepartTypeRepository
    {
        public DepartTypeRepository(EFCoreContext context) : base(context)
        {
        }

        public async Task<List<DepartType>> GetAllDepartType()
        {
            return await GetAllAsync();
        }
    }
}
